package com.ruoyi.common.core.domain.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 微信小程序登录参数
 */
@Data
@Accessors(chain = true)
public class AppWxParam implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer invitationId;

    @NotEmpty(message = "code不能为空")
    private String code;

    private String encryptedData;

    private String iv;

    private String signature;

    private Integer refereeId;

    private String source;

    private String token;

    private String userInfo;

    private String username;

    private String password;

}
